package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.Activetyrecord;
import org.hxyjs.page.PageInfo;

public interface ActivetyrecordService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<Activetyrecord> getAllActivetyrecords() throws Exception;

    /**
     * 删除学生
     * @param afno
     * @return
     * @throws Exception
     */
    public DTO<Activetyrecord> deleteActivetyrecordByAfno(String afno) throws Exception;
    /**
     *  修改学生
     * @param activetyrecord
     * @return
     */
    public DTO<Activetyrecord> updateActivetyrecordByAfno(Activetyrecord activetyrecord)  throws Exception;
    /**
     *  增加学生
     * @param activetyrecord
     * @return
     */
    public DTO<Activetyrecord> addActivetyrecord(Activetyrecord activetyrecord)  throws Exception;

    /**
     * 根据主键查询学生
     * @param afno
     * @return
     * @throws Exception
     */
    public DTO<Activetyrecord> getActivetyrecordByAfno(String afno) throws Exception;

     public DTO<Activetyrecord> getActivetyrecordByPage(PageInfo pageInfo) throws Exception;


}
